package com.zhny.sensor.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * 脚标机设备状态实体类
 *
 * @author zhy
 */
@Entity
@Table(name="barcode_machine_status")
public class BarcodeMachineStatus implements Serializable{

	@Id
	private String id;//


	
	private String barcodeMachineId;//脚标机编号
	private java.util.Date loginDate;//登录时间
	private String state;//在线状态
	private Integer barcodeSurplus;//条码剩余数量
	private Integer threshold;//条码剩余数量阈值（超出阈值范围要给出警告提示）
	private String userId;//用户id
	private java.util.Date offlineTime;//下线时间
	private String createBy;//创建者
	private java.util.Date createDate;//创建时间

	
	public String getId() {		
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getBarcodeMachineId() {		
		return barcodeMachineId;
	}
	public void setBarcodeMachineId(String barcodeMachineId) {
		this.barcodeMachineId = barcodeMachineId;
	}

	public java.util.Date getLoginDate() {		
		return loginDate;
	}
	public void setLoginDate(java.util.Date loginDate) {
		this.loginDate = loginDate;
	}

	public String getState() {		
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}

	public Integer getBarcodeSurplus() {		
		return barcodeSurplus;
	}
	public void setBarcodeSurplus(Integer barcodeSurplus) {
		this.barcodeSurplus = barcodeSurplus;
	}

	public Integer getThreshold() {		
		return threshold;
	}
	public void setThreshold(Integer threshold) {
		this.threshold = threshold;
	}

	public String getUserId() {		
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}

	public java.util.Date getOfflineTime() {		
		return offlineTime;
	}
	public void setOfflineTime(java.util.Date offlineTime) {
		this.offlineTime = offlineTime;
	}

	public String getCreateBy() {		
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public java.util.Date getCreateDate() {		
		return createDate;
	}
	public void setCreateDate(java.util.Date createDate) {
		this.createDate = createDate;
	}


	
}
